import java.io.File;
import java.io.IOException;

import org.codehaus.jackson.*;

public class ParserTwo{
	public static void main(String[] args) throws JsonParseException, IOException{
		JsonFactory f = new JsonFactory();
		JsonParser jp = f.createJsonParser(new File("care.json"));
		// advance stream to START_ARRAY first:
		jp.nextToken();
		// and then each time, advance to opening START_OBJECT
		while (jp.nextToken() == JsonToken.START_OBJECT) {
			Tweet foobar = mapper.readValue(jp, Tweet.class);
			// process
			// after binding, stream points to closing END_OBJECT
		}
	}
}